package com.shark.uh.mapper;

import com.shark.uh.model.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Entity com.BsetC.AccountPlatform.entity.User
 */
public interface UserMapper extends BaseMapper<User> {
    User getUserByUsername(String username);
    User getUserByEmail(String email);
    User getUserByPhone(String phone);
    int countByPhone(String phone);
    int countByEmail(String email);
    int countByUsername(String username);
    int setStatus(@Param("email") String email, @Param("status") String status);
}




